﻿@model HomeCareLibrary.Core.Dtos.CTTaskDetailDto

<div class="col-lg-9 col-sm-9 right_part"> 
            
            
            <!----------------------------------
            Customize Task
            -------------------------------->
            <div class="custom-task">
            
            <div class="main-content">
                   @if (Session[HomeCareLibrary.Constants.SessionConstants.MODE] == null || Session[HomeCareLibrary.Constants.SessionConstants.MODE] == HomeCareLibrary.Constants.ApplicationModeConstants.IPHONE_APP || Session[HomeCareLibrary.Constants.SessionConstants.MODE] == HomeCareLibrary.Constants.ApplicationModeConstants.IPAD_APP)
               {
                 <div class="top-btn-per clearfix">
                <div id="back-button" class="back-button">
                        <a href="javascript:void(0);">
                            <img class="back-btn" alt="back-btn" src="@Url.Content("~/images/personalization-images/back-btn.png")">

                            <div class="back-mob-btn"><span class="glyphicon glyphicon-chevron-left"></span>Back</div>
                        </a>
                    </div>
              </div>
                   }
                @{
                  var sessionValue = "";
                  if (Session[HomeCareLibrary.Constants.SessionConstants.MODE]!=null)
                  {
                      sessionValue = Session[HomeCareLibrary.Constants.SessionConstants.MODE].ToString();
                  }
                  else{
                      sessionValue = "";
                  }
                      <input type="hidden" value="@sessionValue" id="hdnSessionValue" />
              }
                  <div class="personalization-data customize-data clearfix">
                  <div class="group-mtt-outer"> 
                    <div class="panel-group-mtt clearfix">
                      <div class="media"> <a class="ACR-img" href="#"> <img alt="@Model.image" src="@Url.Content("~/" + Model.image)"> </a>
                        <div class="media-body">
                        <div class="left-group-panel">
                          <h4 class="media-heading">@Model.feature_name</h4>
                          <div class="icon-mtt clearfix">
                            <div class="star pull-left"><img alt="star-i3" src="@Url.Content("~/images/mtt-images/" + Model.priority + "_star.png")"></div>
                            
                          </div>
                          <p>@Model.task_description</p>
                        </div>
                        
                        </div>
                      </div>
                    </div>
                    
                    
                  </div>
                  <br />
                  <div class="customize-task">
                  <table class="table">
       
        <tbody>
          <tr>
            <td>&nbsp;</td>
            <td>Change this task</td>
            <td><a href="#"><img src="@Url.Content("~/images/customTask-img/change-btn.png")" alt="" /></a></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td>Delete this task, <br></td>
            <td><a href="javascript:void(0);" data-toggle="modal" data-target="#deletetaskModal"><img src="@Url.Content("~/images/customTask-img/delete-task.png")" alt="" /></a></td>
            <td>&nbsp;</td>
          </tr>
          
        </tbody>
      </table>
                  </div>
                  
                    </div>
                  
                
              
            </div>
            </div>
            
            <!----------------------------------
           End
            -------------------------------->
                 <div aria-hidden="true" aria-labelledby="mySmallModalLabel" role="dialog" id="deletetaskModal" tabindex="-1" class="modal fade bs-modal-sm" >
                                            <div class="modal-dialog modal-sm">
                                                <div class="modal-content">
                                                    <div class="modal-body">
                                                        Are you sure you want to delete your Task?
                                                    </div>
                                                    <div class="modal-footer">
                                                    
                                                       @* <a href="@Url.Action("DeleteTask", "CustomTasks", new {id= ViewBag.taskCodeStatus})" class="btn btn-default">Ok </a>*@
                                                         <a href="javascript:void(0);" class="btn btn-default">Ok </a>
                                                        <button data-dismiss="modal" class="btn btn-default" type="button">Cancel</button>



                                                    </div>
                                                </div>
                                                <!-- /.modal-content -->
                                            </div>
                                            <!-- /.modal-dialog -->
                                        </div>  
           
          </div>